import * as urls from '@/config/env'
import website from '@/config/website'
import WebHost from './core'
import modules from './modules'
//注册自定义组件
import '././core/modules/vdata/components/'
WebHost.registerModule(modules)

//是否启用cms
// WebHost.enableCMS({
//   //登录
//   login: true,
//   //让CMS接管权限 (前提: CMS升级至AppAdmin)
//   authorize: false,
//   //应用Code
//   appCode: 'test',
//   //应用Header头信息
//   appSign: 'static dGVzdDpENDA4OTA1REVEQUQ1ODQ5MkZCOUE4RUYxNjc2N0Q3RQ=='
// })

WebHost.use({urls,website})